// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_WORKGROUP_USER
// * CreateDate    : 2014-06-05 18:30:24
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:24
// * LastChanger   : 2014-06-05 18:30:24
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdWorkgroupUserTable : TableInfo
    {
		public const string C_TableName = "PROD_WORKGROUP_USER";
		
		public const string C_Id = "Id";
		public const string C_PROD_WORKGROUP_ID = "PROD_WORKGROUP_ID";
		public const string C_USER_ID = "USER_ID";
		public const string C_USER_NO = "USER_NO";
		public const string C_USER_NAME = "USER_NAME";
		public const string C_STATUS = "STATUS";
		
		public ProdWorkgroupUserTable()
        {
            _tableName = "PROD_WORKGROUP_USER";
        }
		
		protected static ProdWorkgroupUserTable _current;
        public static ProdWorkgroupUserTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdWorkgroupUserTable();

            _current.Add(C_Id, new ColumnInfo(C_Id,"Id", true, typeof(string)));
            _current.Add(C_PROD_WORKGROUP_ID, new ColumnInfo(C_PROD_WORKGROUP_ID,"ProdWorkgroupId", false, typeof(string)));
            _current.Add(C_USER_ID, new ColumnInfo(C_USER_ID,"UserId", false, typeof(string)));
            _current.Add(C_USER_NO, new ColumnInfo(C_USER_NO,"UserNo", false, typeof(string)));
            _current.Add(C_USER_NAME, new ColumnInfo(C_USER_NAME,"UserName", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo Id
        {
            get { return this[C_Id]; }
        }
		
		public ColumnInfo PROD_WORKGROUP_ID
        {
            get { return this[C_PROD_WORKGROUP_ID]; }
        }
		
		public ColumnInfo USER_ID
        {
            get { return this[C_USER_ID]; }
        }
		
		public ColumnInfo USER_NO
        {
            get { return this[C_USER_NO]; }
        }
		
		public ColumnInfo USER_NAME
        {
            get { return this[C_USER_NAME]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

